FROM java:8
#设置端口
EXPOSE 7575

VOLUME /tmp
ADD infowell.jar  /app.jar
RUN bash -c 'touch /app.jar'

#设置时区
RUN ln -sf /usr/share/zoneinfo/Asia/Shanghai /etc/localtime
RUN echo 'Asia/Shanghai' >/etc/timezone

VOLUME /mnt/upload

ENTRYPOINT ["java","-jar","/app.jar"]
